import '@assets/css/normalize.css'
import '@assets/css/reset.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persistedstate'

import App from './App.vue'
import router from './router'

import loginDialogPlugin from '@plugin/loginDialogPlugin'

const app = createApp(App)

// 持久化存储
const store = createPinia()
store.use(piniaPluginPersist)
app.use(store)

app.use(router)
app.use(loginDialogPlugin)

app.mount('#app')
